home *** CD-ROM | disk | FTP | other *** search
/ The Arsenal Files 2 / The Arsenal Files 2 (Arsenal Computer).ISO / os2 / tcp20c2.exe / BASEC2.ZIP / ETC / dual.cfg
Encoding:
Text File  |  1994-05-03  |  5.5 KB  |  158 lines

  1. # *****************************************************************************
  2. # *****************************************************************************
  3. #   Licensed Materials - Property of IBM
  4. #   IBM TCP/IP for OS/2.
  5. #   Copyright (c) IBM Corp. 1993  All rights reserved.
  6. #   US Government Users Restricted Rights - Use, duplication or
  7. #   disclosure restricted by GSA ADP Schedule contract with IBM Corp.
  8. # *****************************************************************************
  9. # *****************************************************************************
  10. #   $Author:$
  11. #   $Revision:$
  12. #   $Modtime:$
  13. #   $Header:$
  14. #   $Log:$
  15. # *****************************************************************************
  16. # *****************************************************************************
  17. #------------------------------------------------------------------------------
  18. #
  19. #          OS/2 2.0 SLIP Driver for IBM TCP/IP v2.0
  20. #
  21. #              Version 2.0 (Beta) - April 1994
  22. #              W. Marcus Miller - william_miller@vnet.ibm.com
  23. #
  24. #                   DUAL.CFG
  25. #
  26. #          ..................................................
  27. #
  28. #               SLIP Configuration File
  29. #
  30. #          ..................................................
  31. #
  32. #
  33. #                  Copyright (c) 1993
  34. #          David Bolen and Advanced Network & Services, Inc.
  35. #                 All Rights Reserved
  36. #
  37. #
  38. # This file controls the interfaces that the SLIP driver creates and manages.
  39. # It is used to set up interface values (such as MTU, RTT estimates, and
  40. # device information), as well as specifying other per-interface data, such
  41. # as what scripts should be run to make a SLIP attachment over an interface.
  42. #
  43. #
  44. # The general format of the file is a series of interface "clauses", of the
  45. # form:
  46. #
  47. #        interface ??? {        # Comments
  48. #             parameter = value  [,] [ parameter = value [,] ... ]
  49. #        }
  50. #
  51. # Spaces, commas and newlines are ignored (except within quoted strings).
  52. # In general, the layout of the file is free-form, within the general bounds
  53. # of the interface blocks.
  54. #
  55. # Comments may begin at any point on the line, and are signified by a hash
  56. # (#) character - everything past the comment character is ignored.
  57. #
  58. # Parameter names and values are delimited by whitespace.  Special characters
  59. # (whitespace, ',', '{', '}', '#', '=') may be included in a value by
  60. # surrounding that value in double quotes ("), or by prefixing the special
  61. # character with a backslash (\).  Use \\ to get a backslash itself, and use
  62. # \" within a quoted string to get a double quote within the value.
  63. #
  64. # In the above, ??? specifies an interface to be defined.  Currently only
  65. # two values are allowed:
  66. #
  67. #    default        Default settings.  Specifies parameters that will
  68. #            be assumed for any interfaces later in the file
  69. #            where their interface clauses do not contain new
  70. #            values for the parameters.
  71. #    sl0        Serial Interface 0.
  72. #
  73. # The "interface default" clause may be specified multiple times, and is
  74. # additive.  Where a parameter appears in more than one such clause, its
  75. # most recent value will be used for any later interface clauses.
  76. #
  77. # The following parameters and values are allowed for each interface:
  78. #
  79. #   Basic Parameters
  80. #    device        Interface serial device (ie: "com1")
  81. #    mtu        Maximum transmission unit (bytes)
  82. #    compression    Adjusts VJ compression.  Can be "ON" (always compress),
  83. #              "OFF" (never), or "AUTO" (accept compression and
  84. #              start compressing if compressed packets are received)
  85. #    attachcmd    Name of rexx command script to run to attach interface
  86. #    attachparms      Parameters to pass to command script
  87. #
  88. #   Queuing Parameters
  89. #    fastqueue    Enables priority queueing for interactive traffic.
  90. #    nofastqueue      Disables priority queueing
  91. #    queuesize    Normal and priority queue sizes (IP kernel<->SLIP) in
  92. #    fastqueuesize     packets.  These should be multiples of 4.
  93. #
  94. #   Protocol Parameters
  95. #    rtt        Initial TCP RTT estimates.  Like BSD-Reno's per-route
  96. #    rttvar          defaults, but per-interface.  The values assigned
  97. #    rttmin          to these parameters are in milliseconds
  98. #    sendpipe    Size of TCP send and receive windows (bytes)
  99. #    recvpipe    
  100. #    ssthresh    "Slow start" congestion window threshold (bytes)
  101. #
  102. #   Network Parameters
  103. #    ipaddress    The IP address of the local point-to-point link
  104. #    ipdest        The IP address of the remote point-to-point link
  105. #
  106. # When this file is initially processed, the system default interface clause
  107. # is as follows:
  108. #
  109. #    interface default {
  110. #       mtu=296, compression=on,
  111. #       fastqueue, queuesize=12, fastqueuesize=24,
  112. #       recvpipe=4096
  113. #       ipaddress=222.222.222.10
  114. #       ipdest=222.222.222.20
  115. #    }
  116. #
  117. # And the default device for the "sl0" interface is "com1"
  118. #
  119. #
  120. # It is not recommended that anything other than "Basic Parameter" values
  121. # be adjusted unless truly necessary.  In particular, adjusting queue sizes
  122. # and rtt* values without a complete understanding of the affect such
  123. # adjustments will have on protocol (such as TCP) behavior can seriously
  124. # affect both interactive response and throughput.
  125. #
  126. #
  127. #------------------------------------------------------------------------------
  128.  
  129. # Sample file for configuring one null modem connection and one dial in 
  130. # interface.
  131.  
  132. interface sl0 {
  133.     mtu=1006
  134.     compression=on
  135.     device = com1
  136.     ipaddress =9.67.111.214 
  137.     ipdest = 9.67.111.251
  138.     attachcmd = direct
  139.     attachparms = "com1 57600"
  140.     }
  141.  
  142. interface sl1 {
  143.     mtu=1006
  144.     compression=off
  145.     device = com2
  146.     ipaddress = 9.67.111.214
  147.     ipdest = 9.67.111.252
  148.     attachcmd = atans
  149.     attachparms = "com2 57600"
  150.     }
  151.